from django.db import models


# Create your models here.
class Book_sort(models.Model):
    name = models.CharField(max_length=100)


class Books(models.Model):
    name = models.CharField(max_length=100)
    price = models.IntegerField()
    zuozhe = models.CharField(max_length=100)
    book_sort = models.ForeignKey(to=Book_sort, on_delete=models.CASCADE)
